sched-rt: avoid to shadow the variable "svc" in rt_dom_cntl
authorJulien Grall <julien.grall@citrix.com>
Thu, 29 Oct 2015 11:24:13 +0000 (12:24 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Oct 2015 11:24:13 +0000 (12:24 +0100)
commit79fbab823fde327c6b766529c1b06b509457dc92
tree909063ea7b0b2d15a35d9042291d6fb9046ec46b
parent568ff32927ecc68765973ad5b590b48e045dee4a
sched-rt: avoid to shadow the variable "svc" in rt_dom_cntl

The variable "svc" is declared twice within rt_dom_cntl. However, the
top declaration could be re-used avoiding re-declaring another time the
variable.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/common/sched_rt.c